-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bitwise NOT operator #337
Bitwise NOT operator #337
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also check at least the following:
- something like
~~x
,~-x
,-~x
are parsed and evaluated correctly; - we also need to add a const-eval test for the bitwise negation;
- negative type-checker tests for something like
~ true
;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff! Let's refactor the grammar a little bit and also fix merge conflicts with the main branch
Could you please update your PR after #365 was merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's fix the merge conflicts here
@anton-trunov done |
Closes #333